package com.es.www.kyl.bean.req.client;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.beans.factory.annotation.Autowired;

import java.io.Serializable;

/**
 * @author Estranger
 * @date 2025/8/13
 * description
 */
@Data
public class ExerciseResultReq implements Serializable {
	private static final long serialVersionUID = 4872335817250616444L;

	@ApiModelProperty(value = "分类id")
	private Integer categoryId;

	@ApiModelProperty(value = "题目id")
	private Integer questionId;

	@ApiModelProperty(value = "轮次类型 1: 普通类型；2:错题类型")
	private String practiceType;

	@ApiModelProperty(value = "轮次id")
	private String roundId;

	@ApiModelProperty(value = "答案是否正确")
	private Boolean correctFlag;

	@ApiModelProperty(value = "用户提交的答案 (选项ID或填空内容，如果是多选题则用逗号分隔)")
	private String userAnswer;

	@ApiModelProperty(value = "是否本轮最后一题")
	private Boolean lastQuestionFlag;
}
